My doc's template.

Versions :
{%- for version in sources.versions.values()|sort %}
    {{ version.name }}
{%- endfor %}

Methods :
{%- for method in sources.methods.values()|sort -%}
    {{ method.name }}()
{%- endfor %}

Types :
{%- for type in sources.types.values()|sort -%}
    {{ type.name }}()
{%- endfor %}